package com.yst.gateway.monitor.models;

import java.util.Date;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import com.yst.gateway.monitor.common.validator.groups.Groups;

public class QzApplication {
	//编号
	@NotBlank(message="{app.id.NotBlank}",groups={Groups.Modify.class})
    private String appId;
	
	//代码
	@NotBlank(message="{app.code.NotBlank}")
	@Length(max=50,min=2)
    private String code;
	
	//应用名称
	@NotBlank(message="{app.name.NotBlank}")
	@Length(max=50,min=2)
    private String name;
	
	//应用描述
    private String memo;

    //应用类型
	@NotBlank(message="{app.type.NotBlank}")
    private String type;

    //渠道id
    private String channelId;
    //业务id
    private String businessId;
    //细类id
    private String channelTypeId;
    //状态
    private Integer status;
    //创建时间
    private Date ctime;
    //创建人
    private String creator;
    //修改时间
    private Date utime;
    //修改人
    private String modifier;
    
    //应用类型名称
    private String typeName;
    //业务名称
    private String businessName;
    //渠道名称
    private String channelName;
    
    private String interName;
    
    public String getInterName() {
		return interName;
	}

	public void setInterName(String interName) {
		this.interName = interName;
	}

	//接口id
    private String channelInterId;
    
    //应用接口对应表id
    private String appInterId;
    
    public String getAppInterId() {
		return appInterId;
	}

	public void setAppInterId(String appInterId) {
		this.appInterId = appInterId;
	}

	public String getChannelInterId() {
		return channelInterId;
	}

	public void setChannelInterId(String channelInterId) {
		this.channelInterId = channelInterId;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getChannelTypeId() {
        return channelTypeId;
    }

    public void setChannelTypeId(String channelTypeId) {
        this.channelTypeId = channelTypeId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getUtime() {
        return utime;
    }

    public void setUtime(Date utime) {
        this.utime = utime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }
    
    
}